package com.eastfair.builder.dto;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.eastfair.builder.enumeration.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

/**
 * <p>
 * 实体类
 * 展商
 * </p>
 *
 * @author dq
 * @since 2022-08-15
 */
@Data
@ApiModel(value = "ExhibitorUpdateDTO", description = "展商")
public class ExhibitorDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @Size(max = 1000, message = "备注长度不能超过1000")
    private String remark;
    /**
     * 外部系统展商ID
     */
    @ApiModelProperty(value = "外部系统展商ID")
    @Size(max = 200, message = "外部系统展商ID长度不能超过200")
    private String externalExhibitorId;
    /**
     * 展商名称
     */
    @ApiModelProperty(value = "展商名称")
    @Size(max = 100, message = "展商名称长度不能超过100")
    private String exhibitorName;
    /**
     * 展馆编码
     */
    @ApiModelProperty(value = "展馆编码")
    @Size(max = 64, message = "展馆编码长度不能超过64")
    private String spaceCode;
    /**
     * 展馆号
     */
    @ApiModelProperty(value = "展馆号")
    @Size(max = 100, message = "展馆号长度不能超过100")
    private String spaceName;
    /**
     * 展位编码
     */
    @ApiModelProperty(value = "展位编码")
    @Size(max = 64, message = "展位编码长度不能超过64")
    private String siteCode;
    /**
     * 展位号
     */
    @ApiModelProperty(value = "展位号")
    @Size(max = 100, message = "展位号长度不能超过100")
    private String siteName;
    /**
     * 展位类型 #{SPECIAL:特装;STANDARD:标摊}
     */
    @ApiModelProperty(value = "展位类型 #{SPECIAL:特装;STANDARD:标摊}")
    private ExhibitorSiteTypeEnum siteType;
    /**
     * 展位面积
     */
    @ApiModelProperty(value = "展位面积")
    private BigDecimal siteArea;
    /**
     * 展位状态
     */
    @ApiModelProperty(value = "展位状态")
    @Size(max = 64, message = "展位状态长度不能超过64")
    private String siteStatus;
    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人")
    @Size(max = 100, message = "联系人长度不能超过100")
    private String contact;
    /**
     * 联系人手机号
     */
    @ApiModelProperty(value = "联系人手机号")
    @Size(max = 50, message = "联系人手机号长度不能超过50")
    private String contactMobile;
    /**
     * 是否吊点：0-否，1-是
     */
    @ApiModelProperty(value = "是否吊点：0-否，1-是")
    private Integer isPoint;
    /**
     * 是否双层：0-否，1-是
     */
    @ApiModelProperty(value = "是否双层：0-否，1-是")
    private Integer isDouble;
    /**
     * 搭建商ID
     */
    @ApiModelProperty(value = "搭建商ID")
    private Long builderId;
    /**
     * 搭建商名称
     */
    @ApiModelProperty(value = "搭建商名称")
    @Size(max = 100, message = "搭建商名称长度不能超过100")
    private String builderName;
    /**
     * 展会ID
     */
    @ApiModelProperty(value = "展会ID")
    private Long exhibitionManageId;
    /**
     * 展会名称
     */
    @ApiModelProperty(value = "展会名称")
    @Size(max = 100, message = "展会名称长度不能超过100")
    private String exhibitionManageName;

    /**
     * 展商联系人名称
     */
    @ApiModelProperty(value = "展商联系人名称")
    @Size(max = 100, message = "展商联系人名称长度不能超过100")
    private String exhibitorContacts;

    /**
     * 展商联系方式
     */
    @ApiModelProperty(value = "展商联系方式")
    @Size(max = 100, message = "展商联系方式长度不能超过100")
    private String exhibitorContactsTel;

    /**
     * 是否设置了保证金 0:否 1:是
     */
    @ApiModelProperty(value = "是否设置了保证金 0:否 1:是")
    private Integer isEarnestMoneySet;

    /**
     * 应缴纳保证金
     */
    @ApiModelProperty(value = "应缴纳保证金")
    private BigDecimal shouldEarnestMoney;

    /**
     * 实际缴纳的保证金
     */
    @ApiModelProperty(value = "实际缴纳的保证金")
    private BigDecimal actualEarnestMoney;

    /**
     * 剩余保证金
     */
    @ApiModelProperty(value = "剩余保证金")
    private BigDecimal remainEarnestMoney;

    /**
     * 保证金缴纳状态 #{NOT_PAY:未支付;HAS_PAY:已支付}
     */
    @ApiModelProperty(value = "保证金缴纳状态 #{NOT_PAY:未支付;HAS_PAY:已支付}")
    private ExhibitorEarnestMoneyPayStatusEnum earnestMoneyPayStatus;

    /**
     * 保证金缴纳时间
     */
    @ApiModelProperty(value = "保证金缴纳时间")
    private LocalDateTime earnestMoneyPayTime;

    /**
     * 要扣除的保证金金额
     */
    @ApiModelProperty(value = "要扣除的保证金金额")
    private BigDecimal deductedEarnestMoney;

    /**
     * 进度#{IS_EARNEST_MONEY_SET:缴纳保证金;ARRANGEMENT:布展验收中;HAS_ARRANGEMENT:布展验收;DISMANTLING:撤展验收中;HAS_DISMANTLING:撤展验收;}
     */
    @ApiModelProperty(value = "进度#{IS_EARNEST_MONEY_SET:缴纳保证金;ARRANGEMENT:布展验收中;HAS_ARRANGEMENT:布展验收;DISMANTLING:撤展验收中;HAS_DISMANTLING:撤展验收;}")
    private ExhibitorProcessEnum process;

    /**
     * 结算状态 #{NOT_APPLIED:未申请;REQUESTED:已申请;HAS_SETTLE:已结算}
     */
    @ApiModelProperty(value = "结算状态 #{NOT_APPLIED:未申请;REQUESTED:已申请;HAS_SETTLE:已结算}")
    private ExhibitorSettleStatusEnum settleStatus;

    /**
     * 是否重置(0否1是)
     */
    @ApiModelProperty(value = "是否重置(0否1是)")
    private Integer isReset;

    /**
     * 要退还的保证金金额
     */
    @ApiModelProperty(value = "要退还的保证金金额")
    private BigDecimal refundEarnestMoney;

    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词")
    private String keyword;

    /**
     * 主场移动端巡检查询关键字
     */
    @ApiModelProperty(value = "主场移动端巡检查询关键字")
    private String homeCheckKeyword;

    /**
     * 完全匹配
     */
    @ApiModelProperty(value = "完全匹配")
    private Boolean perfectMatch;

    /**
     * 主场ID
     */
    @ApiModelProperty(value = "主场ID")
    private Long homeId;

    /**
     * 展厅列表
     */
    @ApiModelProperty(value = "展厅列表")
    private List<String> spaceCodeList;

    /**
     * 施工负责人
     */
    @ApiModelProperty(value = "施工负责人")
    @Size(max = 100, message = "施工负责人长度不能超过100")
    private String constructionPrincipal;

    /**
     * 施工负责人联系电话
     */
    @ApiModelProperty(value = "施工负责人联系电话")
    @Size(max = 50, message = "施工负责人联系电话长度不能超过50")
    private String principalPhone;

    /**
     * 是否搭建商查询(0否1是)
     */
    @ApiModelProperty(value = "是否搭建商查询(0否1是)")
    private Integer isBuilder;
    /**
     * 报馆状态
     */
    private String reportSpaceStatus;
    /**
     * 保证金支付状态
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String bondPayStatus;
    /**
     * 管理费支付状态
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String manageOrderPayStatus;
    /**
     * 展商邀请码
     */
    @ApiModelProperty(value = "展商邀请码")
    private String inviteCode;
}
